import request from '@/utils/request'

// 设备表列表
export function apiBoomDeviceLists(params: any) {
    return request.get({ url: '/boom.device/lists', params })
}

// 设备表详情
export function apiBoomDeviceDetail(params: any) {
    return request.get({ url: '/boom_device/detail', params })
}

//禁用设备
export function apiBoomDeviceDisable(params: any) {
    return request.post({ url: '/boom.device/forbidden', params })
}

// 全部设备
export function apiBoomDeviceAll(params: any) {
    return request.get({ url: '/boom.device/all' })
}

export function getDevicePrice(params: any) {
    return request.post({ url: '/boom.device/pricelists', params })
}

export function apiBoomShelfPrice(params: any) {
    return request.post({ url: '/boom.device/onShelf', params })
}